from core.infra.container import AppContainer
from fastapi import FastAPI
from business_processes.opening_account_validation.presentation.rest import api as opening_account_validation


app_container = AppContainer()
app = FastAPI(
    title='DDD-document-validation-app'
)

app.container = app_container
app.include_router(opening_account_validation.router)


@app.get('/')
def health_check():
    return {"I'm alive!"}
